     <template>
      <tr class="count">
        <td colspan="7">
          <div class="jiesuan clearfix">
            <div class="left fl">
              <p><a href="#" class="del_check" @click="removeAll" v-if="anyList">删除选中商品</a></p>
            </div>
            <div class="right fr clearfix">
              <p>商品总计：￥{{allPrice}}</p>
              <p>活动优惠：-￥{{preferential}}</p>
              <p>已选商品<span class="red t-number"> {{checkList}} </span>件 总价(不含运费、税费)：<span class="red t-price">￥{{value}}</span></p>
              <!-- <div><a href="#" class="btn pay">结算</a></div> -->
              <a href="#" class="btn pay fr">结算</a>
            </div>
          </div>
        </td>
      </tr>
</template>

<script>

export default {
  name: 'MyPrice',
  props: {
    value:{
    type:Number,
    required:true
   },
    checkList:{
    type:Number,
    required:true
   },
    allPrice:{
    type:Number,
    required:true
   },
   preferential:{
    type:Number,
    required:true
   },
   anyList:{
    type:Boolean
   }
  },
  methods:{
    removeAll(){
      this.$emit('removeAll')
    }
  }
}
</script>

<style  lang="less"></style>